import { get } from '@/utils/request';
import type { ccCategory } from '@/types/singer/ccCategory';

export function listCategory(id: number){
    return get<ccCategory[]>('/category/list',id);
}